import json
import uuid
from datetime import datetime

request_object = {
    "model": "deepseek-chat",
    "root_id": str(uuid.uuid4()),
    "resources": [
        {"role": "system", "content": "你是一个招聘助理"},
        {"role": "user", "content": "请根据简历生成岗位匹配度分析"}
    ],
    "config": {
        "temperature": 0.7,
        "max_tokens": 512,
        "stream": False
    },
    "metadata": {
        "request_id": str(uuid.uuid4()),
        "caller": "resume-analysis-agent",
        "timestamp": datetime.utcnow().isoformat()
    }
}

# 打印结构化请求
print(json.dumps(request_object, ensure_ascii=False, indent=2))
